import {Button, View} from 'react-native';

export default function App() {
  const showBtn = () => {
    if (1 === 1) {
      return <Button title="111" />
    } else {
      return <Button title="222" />
    }
  };
  return (
    <View>
      <View>{showBtn()}</View>;
    </View>
  );
}
